/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--e-global-color-a3699a4) 0%,
    var(--e-global-color-5c1ca3d) 100%
  );
}

.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 按钮样式 */
.el-button--primary {
  background: linear-gradient(
    135deg,
    var(--e-global-color-a3699a4) 0%,
    var(--e-global-color-5c1ca3d) 100%
  );
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.el-button--primary:hover {
  background: linear-gradient(
    135deg,
    var(--e-global-color-a3699a4) 0%,
    var(--e-global-color-5c1ca3d) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(50, 0, 99, 0.4);
}

/* 输入框样式 */
.el-input__wrapper,
.el-select__wrapper,
.el-textarea__inner {
  border-radius: 8px;
  border: 2px solid #e1e8ed;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.el-input__wrapper:hover,
.el-select__wrapper:hover,
.el-textarea__inner:hover {
  border-color: var(--e-global-color-selected);
}

.el-input__wrapper.is-focus,
.el-select__wrapper.is-focus,
.el-textarea__inner.is-focus {
  border-color: var(--e-global-color-selected);
  box-shadow: 0 0 0 2px rgba(50, 0, 99, 0.2);
}

/* 表格样式 */
.el-table {
  border-radius: 10px;
  overflow: hidden;
}

.el-table th {
  background: #f8f9fa;
  color: #2c3e50;
  font-weight: 600;
}

/* 卡片样式 */
.el-card {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.el-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 菜单样式 */
.el-menu {
  border: none;
}

.el-menu-item {
  border-radius: 8px;
  margin: 2px 0;
  transition: all 0.3s ease;
}

.el-menu-item:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.el-menu-item.is-active {
  background: linear-gradient(
    135deg,
    var(--e-global-color-a3699a4) 0%,
    var(--e-global-color-5c1ca3d) 100%
  );
  color: white;
}

/* 标签样式 */
.el-tag {
  border-radius: 6px;
  font-weight: 500;
}

/* 分页样式 */
.el-pagination {
  text-align: center;
  margin-top: 30px;
}

.el-pagination .el-pager li {
  border-radius: 6px;
  margin: 0 2px;
}

.el-pagination .el-pager li.is-active {
  background: linear-gradient(
    135deg,
    var(--e-global-color-a3699a4) 0%,
    var(--e-global-color-5c1ca3d) 100%
  );
  color: white;
}

/* 对话框样式 */
.el-dialog {
  border-radius: 15px;
}

.el-dialog__header {
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 30px;
}

.el-dialog__body {
  padding: 30px;
}

/* 消息提示样式 */
.el-message {
  border-radius: 8px;
}

/* 加载样式 */
.el-loading-mask {
  border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding: 0 15px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 24px;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    var(--e-global-color-a3699a4) 0%,
    var(--e-global-color-5c1ca3d) 100%
  );
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    135deg,
    var(--e-global-color-5c1ca3d) 0%,
    var(--e-global-color-a3699a4) 100%
  );
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 工具类 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.p-20 {
  padding: 20px;
}

.p-30 {
  padding: 30px;
}

/* 渐变背景 */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
